package de.felixroske.jfxsupport;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

@ConfigurationProperties(prefix = "spring.javafx")
@Data
public class JavaFxProperties {

    private boolean useWebView = false;

    private String serverUrl;

    private String startImage;

    private StageProperties stage;

    private List<String> icons;

    @Data
    public static class StageProperties {
        private String style;
        private String title;
        private Double width;
        private Double height;
        private boolean resizable;
    }

}
